package com.yanqu.road.entity.player;

import java.math.BigInteger;

public class UserPatronsSimple {

	private long userId;

	private int patronsId;
	/**
	 * 门客赚钱能力
	 */
	private BigInteger ability = BigInteger.ZERO;
	/**
	 * 缓存商战减少积分损失效果
	 */
	private long tradeWarLoseScoreReduce;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public int getPatronsId() {
		return patronsId;
	}

	public void setPatronsId(int patronsId) {
		this.patronsId = patronsId;
	}

	public BigInteger getAbility() {
		return ability;
	}

	public void setAbility(BigInteger ability) {
		this.ability = ability;
	}

	public long getTradeWarLoseScoreReduce() {
		return tradeWarLoseScoreReduce;
	}

	public void setTradeWarLoseScoreReduce(long tradeWarLoseScoreReduce) {
		this.tradeWarLoseScoreReduce = tradeWarLoseScoreReduce;
	}

	public UserPatronsSimple clone(){
		UserPatronsSimple data = new UserPatronsSimple();
		data.setUserId(userId);
		data.setPatronsId(patronsId);
		data.setAbility(ability);
		data.setTradeWarLoseScoreReduce(tradeWarLoseScoreReduce);
		return data;
	}
}
